package la.ge.common;

public class CoordinateUtil {
	public static Point calcCenterPoint(Rect rect) {
		double lon = ((rect.getRightTop().getLongitude() - rect.getLeftBottom().getLongitude()) / 2) + rect.getLeftBottom().getLongitude();
		double lat = ((rect.getRightTop().getLatitude() - rect.getLeftBottom().getLatitude()) / 2) + rect.getLeftBottom().getLatitude();
		return new Point( lon, lat );
	}
}
